package construction.proxy.static1;

public class Test {
    public static void main(String[] args) {
        //静态代理 接口变化 实现和代理都需要修改
        ITeacherDao iTeacherDao = new TeacherDaoProxy(new TeacherDao());
        iTeacherDao.teach();
    }
}
